package com.finance.cooperate.dao.entity.primary;

import com.finance.cooperate.dao.support.pojo.BaseAutomaticSimpleVO;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName Personal
 * @Description 个人信息表
 * @Author shen
 * @Date 2023/8/6 13:37
 * @Modify ...
 */
@Entity
@Table(name = "app_user_personal")
@Data
public class Personal extends BaseAutomaticSimpleVO {

    private static final long serialVersionUID = 3419243787236047953L;

    // ID
    @Id
    @Column(name = "id")
    private String id;

    // 第一次输入持卡人
    @Column(name = "first_name")
    private String firstName;

    // 持卡人姓名
    @Column(name = "name")
    private String name;

    // 婚姻状况
    @Column(name = "marital_status")
    private String maritalStatus;

    // 最高学历
    @Column(name = "highest_school_record")
    private String highestSchoolRecord;

    // 邮箱
    @Column(name = "email")
    private String email;

    // 居住地址
    @Column(name = "residential_address_path")
    private String residentialAddressPath;

    // 详细居住地址
    @Column(name = "residential_detail_address")
    private String residentialDetailAddress;

    // 居住类型
    @Column(name = "residential_type")
    private String residentialType;

    // user_bank_id
    @Column(name = "user_bank_id")
    private String userBankId;

    // bank_code
    @Column(name = "bank_code")
    private String bankCode;

    // bank_Type
    @Column(name = "bank_Type")
    private Integer bankType;

    // 支付渠道 （便利店只有放款成功后才会变为真正的哪个便利店
    @Column(name = "bank_id")
    private String bankId;

    // 银行名称
    @Column(name = "bank_name")
    private String bankName;

    // 银行账号
    @Column(name = "bank_account")
    private String bankAccount;

    // WhatsApp
    @Column(name = "religious")
    private String religious;

    // Facebook账号
    @Column(name = "wa_account")
    private String waAccount;

    // 申请Id
    @Column(name = "apply_id")
    private String applyId;

    // 用户Id
    @Column(name = "user_id")
    private String userId;

    // 省
    @Column(name = "address_one")
    private String addressOne;

    // 市
    @Column(name = "address_two")
    private String addressTwo;

    // 区/县
    @Column(name = "address_three")
    private String addressThree;

    // 街道
    @Column(name = "address_four")
    private String addressFour;


}
